package com.linzt.candy.wxmp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linzt.candy.common.core.web.domain.BaseEntity;

/**
 * @Author linzt
 * @Date 2020/12/19 10:51 下午
 * @Description 微信公众号菜单类
 * @Version 1.0
 */
@TableName("tb_wx_mp_menu")
public class WxMpMenu extends BaseEntity {

    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private String id;

    /**
     * appId
     */
    private String appId;

    /**
     * 上级菜单id
     */
    private String pid;

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 菜单类型
     */
    private String type;

    /**
     * 菜单url
     */
    private String url;

    /**
     * pagePath
     */
    private String mediaId;

    /**
     * pagePath
     */
    private String pagePath;

    /**
     * 排序
     */
    private Double sort;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMediaId() {
        return mediaId;
    }

    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }

    public String getPagePath() {
        return pagePath;
    }

    public void setPagePath(String pagePath) {
        this.pagePath = pagePath;
    }

    public Double getSort() {
        return sort;
    }

    public void setSort(Double sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "WxMpMenu{" +
                "id='" + id + '\'' +
                ", appId='" + appId + '\'' +
                ", pid='" + pid + '\'' +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", url='" + url + '\'' +
                ", mediaId='" + mediaId + '\'' +
                ", pagePath='" + pagePath + '\'' +
                ", sort=" + sort +
                '}';
    }
}